 /*
Jack Morris
11/20/14
Page 50
Assinment 1
*/
#include <stdio.h>

int main()
{
  int yolo, swag, bruh; //yolo=mm swag=dd bruh=yyyy
  printf("Enter a date (mm/dd/yyyy): ");
  scanf("%d/%d/%d", &yolo, &swag, &bruh);
  if(yolo < 10)
  {
    if (swag < 10)
    {
      printf("%d0%d0%d", bruh, yolo, swag);
    }
    else
    {
      printf("%d0%d%d", bruh, yolo, swag);
    }
  }
  else
  {
    if (swag < 10)
    {
      printf("%d%d0%d", bruh, yolo, swag);
    }
    {
      printf("%d%d%d", bruh, yolo, swag);
    }
  }
  return(0);
}